package org.sdp.pearproject.controller;


import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import org.sdp.pearproject.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: TaskStagesTemplateSuperController
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-21
 * @Version: 1.0
 * Table: pear_task_stages_template
 * Comment:
 * 任务列表模板表
 */
public class TaskStagesTemplateSuperController extends BaseController {
    @Autowired
    TaskStagesTemplateService service;

    public Integer addTaskStagesTemplate(TaskStagesTemplateAddRequest request) throws Exception {
        return service.addTaskStagesTemplate(request);
    }

    public Integer updateTaskStagesTemplate(TaskStagesTemplateUpdateRequest request) throws Exception {
        return service.updateTaskStagesTemplate(request);
    }

    public Integer deleteTaskStagesTemplate(TaskStagesTemplateDeleteRequest request) throws Exception {
        return service.deleteTaskStagesTemplate(request);
    }

    public TaskStagesTemplateQueryResponse queryTaskStagesTemplate(TaskStagesTemplateQueryRequest request) throws Exception {
        return service.queryTaskStagesTemplate(request);
    }

    public List<TaskStagesTemplateQueryResponse> listTaskStagesTemplate(TaskStagesTemplateQueryRequest request) throws Exception {
        return service.listTaskStagesTemplate(request);
    }

    public Integer countTaskStagesTemplate(TaskStagesTemplateQueryRequest request) throws Exception {
        return service.countTaskStagesTemplate(request);
    }

    public BaseStatResponse statTaskStagesTemplate(TaskStagesTemplateQueryRequest request) throws Exception {
        return service.statTaskStagesTemplate(request);
    }


}
